class ResourceRecordSets extends Resource (View source)

The "resourceRecordSets" collection of methods.

Typical usage is:

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

Methods

create(string $project, string $managedZone, ResourceRecordSet $postBody, array $optParams = [])

Creates a new ResourceRecordSet. (resourceRecordSets.create)

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

Deletes a previously created ResourceRecordSet. (resourceRecordSets.delete)

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

Fetches the representation of an existing ResourceRecordSet.

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

Enumerates ResourceRecordSets that you have created but not yet deleted.

patch(string $project, string $managedZone, string $name, string $type, ResourceRecordSet $postBody, array $optParams = [])

Applies a partial update to an existing ResourceRecordSet.

Details

ResourceRecordSet create(string $project, string $managedZone, ResourceRecordSet $postBody, array $optParams = [])

Creates a new ResourceRecordSet. (resourceRecordSets.create)

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.

ResourceRecordSet $postBody
array $optParams

Optional parameters.

Return Value

ResourceRecordSet

Exceptions

Exception

ResourceRecordSetsDeleteResponse delete(string $project, string $managedZone, string $name, string $type, array $optParams = [])

Deletes a previously created ResourceRecordSet. (resourceRecordSets.delete)

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 $name

Fully qualified domain name.

string $type

RRSet type.

array $optParams

Optional parameters.

Return Value

ResourceRecordSetsDeleteResponse

Exceptions

Exception

ResourceRecordSet get(string $project, string $managedZone, string $name, string $type, array $optParams = [])

Fetches the representation of an existing ResourceRecordSet.

(resourceRecordSets.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 $name

Fully qualified domain name.

string $type

RRSet type.

array $optParams

Optional parameters.

Return Value

ResourceRecordSet

Exceptions

Exception

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

Enumerates ResourceRecordSets that you have created but not yet deleted.

(resourceRecordSets.listResourceRecordSets)

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

ResourceRecordSetsListResponse

Exceptions

Exception

ResourceRecordSet patch(string $project, string $managedZone, string $name, string $type, ResourceRecordSet $postBody, array $optParams = [])

Applies a partial update to an existing ResourceRecordSet.

(resourceRecordSets.patch)

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 $name

Fully qualified domain name.

string $type

RRSet type.

ResourceRecordSet $postBody
array $optParams

Optional parameters.

Return Value

ResourceRecordSet

Exceptions

Exception