class Changes extends Resource (View source)

The "changes" collection of methods.

Typical usage is:

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

Methods

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

Atomically updates the ResourceRecordSet collection. (changes.create)

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

Fetches the representation of an existing Change. (changes.get)

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

Enumerates Changes to a ResourceRecordSet collection. (changes.listChanges)

Details

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

Atomically updates the ResourceRecordSet collection. (changes.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.

Change $postBody
array $optParams

Optional parameters.

Return Value

Change

Exceptions

Exception

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

Fetches the representation of an existing Change. (changes.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 $changeId

The identifier of the requested change, from a previous ResourceRecordSetsChangeResponse.

array $optParams

Optional parameters.

Return Value

Change

Exceptions

Exception

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

Enumerates Changes to a ResourceRecordSet collection. (changes.listChanges)

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

ChangesListResponse

Exceptions

Exception