Network Services V1 API - Class Google::Cloud::NetworkServices::V1::AgentGateway::NetworkConfig::DnsPeeringConfig (v2.10.1)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::AgentGateway::NetworkConfig::DnsPeeringConfig.

DNS peering config for the user VPC network.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#domains

def domains() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. Domain names for which DNS queries should be forwarded to the target network.

#domains=

def domains=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. Domain names for which DNS queries should be forwarded to the target network.
Returns
  • (::Array<::String>) — Required. Domain names for which DNS queries should be forwarded to the target network.

#target_network

def target_network() -> ::String
Returns
  • (::String) — Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of projects/{project}/global/networks/{network}.

#target_network=

def target_network=(value) -> ::String
Parameter
  • value (::String) — Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of projects/{project}/global/networks/{network}.
Returns
  • (::String) — Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of projects/{project}/global/networks/{network}.

#target_project

def target_project() -> ::String
Returns
  • (::String) — Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.

#target_project=

def target_project=(value) -> ::String
Parameter
  • value (::String) — Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.
Returns
  • (::String) — Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.