class ServicesDnsRecordSets extends Resource (View source)

The "dnsRecordSets" collection of methods.

Typical usage is:

 $servicenetworkingService = new Google\Service\ServiceNetworking(...);
 $dnsRecordSets = $servicenetworkingService->services_dnsRecordSets;

Methods

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

Service producers can use this method to add DNS record sets to private DNS zones in the shared producer host project. (dnsRecordSets.add)

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

Producers can use this method to retrieve information about the DNS record set added to the private zone inside the shared tenant host project associated with a consumer network. (dnsRecordSets.get)

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

Producers can use this method to retrieve a list of available DNS RecordSets available inside the private zone on the tenant host project accessible from their network. (dnsRecordSets.listServicesDnsRecordSets)

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

Service producers can use this method to remove DNS record sets from private DNS zones in the shared producer host project. (dnsRecordSets.remove)

update(string $parent, UpdateDnsRecordSetRequest $postBody, array $optParams = [])

Service producers can use this method to update DNS record sets from private DNS zones in the shared producer host project. (dnsRecordSets.update)

Details

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

Service producers can use this method to add DNS record sets to private DNS zones in the shared producer host project. (dnsRecordSets.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.

AddDnsRecordSetRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

DnsRecordSet get(string $parent, array $optParams = [])

Producers can use this method to retrieve information about the DNS record set added to the private zone inside the shared tenant host project associated with a consumer network. (dnsRecordSets.get)

Parameters

string $parent

Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}.

array $optParams

Optional parameters.

Return Value

DnsRecordSet

Exceptions

Exception

ListDnsRecordSetsResponse listServicesDnsRecordSets(string $parent, array $optParams = [])

Producers can use this method to retrieve a list of available DNS RecordSets available inside the private zone on the tenant host project accessible from their network. (dnsRecordSets.listServicesDnsRecordSets)

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.

array $optParams

Optional parameters.

Return Value

ListDnsRecordSetsResponse

Exceptions

Exception

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

Service producers can use this method to remove DNS record sets from private DNS zones in the shared producer host project. (dnsRecordSets.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.

RemoveDnsRecordSetRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation update(string $parent, UpdateDnsRecordSetRequest $postBody, array $optParams = [])

Service producers can use this method to update DNS record sets from private DNS zones in the shared producer host project. (dnsRecordSets.update)

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.

UpdateDnsRecordSetRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception