class DnsKeys extends Resource (View source)

The "dnsKeys" collection of methods.

Typical usage is:

 $dnsService = new Google\Service\Dns(...);
 $dnsKeys = $dnsService->dnsKeys;

Methods

get(string $project, string $managedZone, string $dnsKeyId, array $optParams = [])

Fetches the representation of an existing DnsKey. (dnsKeys.get)

listDnsKeys(string $project, string $managedZone, array $optParams = [])

Enumerates DnsKeys to a ResourceRecordSet collection. (dnsKeys.listDnsKeys)

Details

DnsKey get(string $project, string $managedZone, string $dnsKeyId, array $optParams = [])

Fetches the representation of an existing DnsKey. (dnsKeys.get)

Parameters

string $project

Identifies the project addressed by this request.

string $managedZone

Identifies the managed zone addressed by this request. Can be the managed zone name or ID.

string $dnsKeyId

The identifier of the requested DnsKey.

array $optParams

Optional parameters.

Return Value

DnsKey

Exceptions

Exception

DnsKeysListResponse listDnsKeys(string $project, string $managedZone, array $optParams = [])

Enumerates DnsKeys to a ResourceRecordSet collection. (dnsKeys.listDnsKeys)

Parameters

string $project

Identifies the project addressed by this request.

string $managedZone

Identifies the managed zone addressed by this request. Can be the managed zone name or ID.

array $optParams

Optional parameters.

Return Value

DnsKeysListResponse

Exceptions

Exception