class ServicesDnsZones extends Resource (View source)

The "dnsZones" collection of methods.

Typical usage is:

 $servicenetworkingService = new Google\Service\ServiceNetworking(...);
 $dnsZones = $servicenetworkingService->services_dnsZones;

Methods

add(string $parent, AddDnsZoneRequest $postBody, array $optParams = [])

Service producers can use this method to add private DNS zones in the shared producer host project and matching peering zones in the consumer project.

remove(string $parent, RemoveDnsZoneRequest $postBody, array $optParams = [])

Service producers can use this method to remove private DNS zones in the shared producer host project and matching peering zones in the consumer project. (dnsZones.remove)

Details

Operation add(string $parent, AddDnsZoneRequest $postBody, array $optParams = [])

Service producers can use this method to add private DNS zones in the shared producer host project and matching peering zones in the consumer project.

(dnsZones.add)

Parameters

string $parent

Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is services/servicenetworking.googleapis.com.

AddDnsZoneRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation remove(string $parent, RemoveDnsZoneRequest $postBody, array $optParams = [])

Service producers can use this method to remove private DNS zones in the shared producer host project and matching peering zones in the consumer project. (dnsZones.remove)

Parameters

string $parent

Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is services/servicenetworking.googleapis.com.

RemoveDnsZoneRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception