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 messagegoogle.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 inhttps://cloud.google.com/apis/design/resource_names. For example:projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding
Output only. The resource name of this DNS profile.
Resource names are schemeless URIs that follow the conventions inhttps://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 inhttps://cloud.google.com/apis/design/resource_names.
For example:projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class DnsForwarding (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.DnsForwarding)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.DnsForwarding)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.DnsForwarding)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.DnsForwarding)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.DnsForwarding)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.DnsForwarding)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.DnsForwarding)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.DnsForwarding) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class DnsForwarding.\n\nDNS forwarding config.\n\nThis config defines a list of domain to name server mappings,\nand is attached to the private cloud for custom domain resolution.\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.DnsForwarding`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The resource name of this DNS profile.\n\nResource names are schemeless URIs that follow the conventions in\n\u003chttps://cloud.google.com/apis/design/resource_names\u003e.\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`\n\n### setName\n\nOutput only. The resource name of this DNS profile.\n\nResource names are schemeless URIs that follow the conventions in\n\u003chttps://cloud.google.com/apis/design/resource_names\u003e.\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`\n\n### getCreateTime\n\nOutput only. Creation time of this resource.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Creation time of this resource.\n\n### getUpdateTime\n\nOutput only. Last update time of this resource.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. Last update time of this resource.\n\n### getForwardingRules\n\nRequired. List of domain mappings to configure\n\n### setForwardingRules\n\nRequired. List of domain mappings to configure"]]