class ProjectsManagedZonesRrsets extends Resource (View source)

The "rrsets" collection of methods.

Typical usage is:

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

Methods

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

Creates a new ResourceRecordSet. (rrsets.create)

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

Deletes a previously created ResourceRecordSet. (rrsets.delete)

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

Fetches the representation of an existing ResourceRecordSet. (rrsets.get)

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

Applies a partial update to an existing ResourceRecordSet. (rrsets.patch)

Details

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

Creates a new ResourceRecordSet. (rrsets.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

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

Deletes a previously created ResourceRecordSet. (rrsets.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

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

Fetches the representation of an existing ResourceRecordSet. (rrsets.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

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

Applies a partial update to an existing ResourceRecordSet. (rrsets.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