class ServicesProjectsServicenetworkingGlobalNetworksDnsZones extends Resource (View source)

The "dnsZones" collection of methods.

Typical usage is:

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

Methods

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

Service producers can use this method to retrieve a DNS zone in the shared producer host project and the matching peering zones in consumer project (dnsZones.get)

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

  • Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project. * (dnsZones.listServicesProjectsServicenetworkingGlobalNetworksDnsZones)

Details

GetDnsZoneResponse get(string $name, array $optParams = [])

Service producers can use this method to retrieve a DNS zone in the shared producer host project and the matching peering zones in consumer project (dnsZones.get)

Parameters

string $name

Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{pr oject}/global/networks/{network}/zones/{zoneName} Where {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name

array $optParams

Optional parameters.

Return Value

GetDnsZoneResponse

Exceptions

Exception

ListDnsZonesResponse listServicesProjectsServicenetworkingGlobalNetworksDnsZones(string $parent, array $optParams = [])

  • Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project. * (dnsZones.listServicesProjectsServicenetworkingGlobalNetworksDnsZones)

Parameters

string $parent

Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}/projects/{project}/global/networks/{network} Service: The service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is servicenetworking.googleapis.com. Projects: the consumer project containing the consumer network. Network: The consumer network accessible from the tenant project.

array $optParams

Optional parameters.

Return Value

ListDnsZonesResponse

Exceptions

Exception