class ProjectsLocationsInstancesDnsPeerings extends Resource (View source)

The "dnsPeerings" collection of methods.

Typical usage is:

 $datafusionService = new Google\Service\DataFusion(...);
 $dnsPeerings = $datafusionService->projects_locations_instances_dnsPeerings;

Methods

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

Creates DNS peering on the given resource. (dnsPeerings.create)

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

Deletes DNS peering on the given resource. (dnsPeerings.delete)

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

Lists DNS peerings for a given resource.

Details

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

Creates DNS peering on the given resource. (dnsPeerings.create)

Parameters

string $parent

Required. The resource on which DNS peering will be created.

DnsPeering $postBody
array $optParams

Optional parameters.

Return Value

DnsPeering

Exceptions

Exception

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

Deletes DNS peering on the given resource. (dnsPeerings.delete)

Parameters

string $name

Required. The name of the DNS peering zone to delete. Format: projects/{project}/locations/{location}/instances/{instance}/dnsPeeri ngs/{dns_peering}

array $optParams

Optional parameters.

Return Value

DatafusionEmpty

Exceptions

Exception

ListDnsPeeringsResponse listProjectsLocationsInstancesDnsPeerings(string $parent, array $optParams = [])

Lists DNS peerings for a given resource.

(dnsPeerings.listProjectsLocationsInstancesDnsPeerings)

Parameters

string $parent

Required. The parent, which owns this collection of dns peerings. Format: projects/{project}/locations/{location}/instances/{instance}

array $optParams

Optional parameters.

Return Value

ListDnsPeeringsResponse

Exceptions

Exception