Google Cloud Vmware Engine V1 Client - Class DnsForwarding (1.1.0)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class DnsForwarding.

DNS forwarding config.

This config defines a list of domain to name server mappings, and is attached to the private cloud for custom domain resolution.

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

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of this resource.

↳ update_time Google\Protobuf\Timestamp

Output only. Last update time of this resource.

↳ forwarding_rules array<Google\Cloud\VmwareEngine\V1\DnsForwarding\ForwardingRule>

Required. List of domain mappings to configure

getName

Output only. The resource name of this DNS profile.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

Returns
Type Description
string

setName

Output only. The resource name of this DNS profile.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Creation time of this resource.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this resource.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Last update time of this resource.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last update time of this resource.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getForwardingRules

Required. List of domain mappings to configure

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setForwardingRules

Required. List of domain mappings to configure

Parameter
Name Description
var array<Google\Cloud\VmwareEngine\V1\DnsForwarding\ForwardingRule>
Returns
Type Description
$this