class ServicesProjectsServicenetworkingGlobalNetworksPeeredDnsDomains extends Resource (View source)

The "peeredDnsDomains" collection of methods.

Typical usage is:

 $servicenetworkingService = new Google\Service\ServiceNetworking(...);
 $peeredDnsDomains = $servicenetworkingService->services_projects_global_networks_peeredDnsDomains;

Methods

create(string $parent, PeeredDnsDomain $postBody, array $optParams = [])

Creates a peered DNS domain which sends requests for records in given namespace originating in the service producer VPC network to the consumer VPC network to be resolved. (peeredDnsDomains.create)

delete(string $name, array $optParams = [])

Deletes a peered DNS domain. (peeredDnsDomains.delete)

listServicesProjectsServicenetworkingGlobalNetworksPeeredDnsDomains(string $parent, array $optParams = [])

Lists peered DNS domains for a connection. (peeredDnsDomains.listServicesProj ectsServicenetworkingGlobalNetworksPeeredDnsDomains)

Details

Operation create(string $parent, PeeredDnsDomain $postBody, array $optParams = [])

Creates a peered DNS domain which sends requests for records in given namespace originating in the service producer VPC network to the consumer VPC network to be resolved. (peeredDnsDomains.create)

Parameters

string $parent

Required. Parent resource identifying the connection for which the peered DNS domain will be created in the format: services/{service}/projects/{project}/global/networks/{network} {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is servicenetworking.googleapis.com. {project} is the number of the project that contains the service consumer's VPC network e.g. 12345. {network} is the name of the service consumer's VPC network.

PeeredDnsDomain $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a peered DNS domain. (peeredDnsDomains.delete)

Parameters

string $name

Required. The name of the peered DNS domain to delete in the format: services/{service}/projects/{project}/global/networks/{network}/ peeredDnsDomains/{name}. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is servicenetworking.googleapis.com. {project} is the number of the project that contains the service consumer's VPC network e.g. 12345. {network} is the name of the service consumer's VPC network. {name} is the name of the peered DNS domain.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

ListPeeredDnsDomainsResponse listServicesProjectsServicenetworkingGlobalNetworksPeeredDnsDomains(string $parent, array $optParams = [])

Lists peered DNS domains for a connection. (peeredDnsDomains.listServicesProj ectsServicenetworkingGlobalNetworksPeeredDnsDomains)

Parameters

string $parent

Required. Parent resource identifying the connection which owns this collection of peered DNS domains in the format: services/{service}/projects/{project}/global/networks/{network}. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is servicenetworking.googleapis.com. {project} is a project number e.g. 12345 that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.

array $optParams

Optional parameters.

Return Value

ListPeeredDnsDomainsResponse

Exceptions

Exception