class ProjectsLocationsDnsAuthorizations extends Resource (View source)

The "dnsAuthorizations" collection of methods.

Typical usage is:

 $certificatemanagerService = new Google\Service\CertificateManager(...);
 $dnsAuthorizations = $certificatemanagerService->projects_locations_dnsAuthorizations;

Methods

create(string $parent, DnsAuthorization $postBody, array $optParams = [])

Creates a new DnsAuthorization in a given project and location.

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

Deletes a single DnsAuthorization. (dnsAuthorizations.delete)

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

Gets details of a single DnsAuthorization. (dnsAuthorizations.get)

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

Lists DnsAuthorizations in a given project and location.

patch(string $name, DnsAuthorization $postBody, array $optParams = [])

Updates a DnsAuthorization. (dnsAuthorizations.patch)

Details

Operation create(string $parent, DnsAuthorization $postBody, array $optParams = [])

Creates a new DnsAuthorization in a given project and location.

(dnsAuthorizations.create)

Parameters

string $parent

Required. The parent resource of the dns authorization. Must be in the format projects/locations.

DnsAuthorization $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single DnsAuthorization. (dnsAuthorizations.delete)

Parameters

string $name

Required. A name of the dns authorization to delete. Must be in the format projects/locations/dnsAuthorizations.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

DnsAuthorization get(string $name, array $optParams = [])

Gets details of a single DnsAuthorization. (dnsAuthorizations.get)

Parameters

string $name

Required. A name of the dns authorization to describe. Must be in the format projects/locations/dnsAuthorizations.

array $optParams

Optional parameters.

Return Value

DnsAuthorization

Exceptions

Exception

ListDnsAuthorizationsResponse listProjectsLocationsDnsAuthorizations(string $parent, array $optParams = [])

Lists DnsAuthorizations in a given project and location.

(dnsAuthorizations.listProjectsLocationsDnsAuthorizations)

Parameters

string $parent

Required. The project and location from which the dns authorizations should be listed, specified in the format projects/locations.

array $optParams

Optional parameters.

Return Value

ListDnsAuthorizationsResponse

Exceptions

Exception

Operation patch(string $name, DnsAuthorization $postBody, array $optParams = [])

Updates a DnsAuthorization. (dnsAuthorizations.patch)

Parameters

string $name

Identifier. A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/locations/dnsAuthorizations.

DnsAuthorization $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception