class Domains extends Resource (View source)

The "domains" collection of methods.

Typical usage is:

 $gmailpostmastertoolsService = new Google\Service\PostmasterTools(...);
 $domains = $gmailpostmastertoolsService->domains;

Methods

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

Gets a specific domain registered by the client. Returns NOT_FOUND if the domain does not exist. (domains.get)

listDomains(array $optParams = [])

Lists the domains that have been registered by the client. The order of domains in the response is unspecified and non-deterministic. Newly created domains will not necessarily be added to the end of this list.

Details

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

Gets a specific domain registered by the client. Returns NOT_FOUND if the domain does not exist. (domains.get)

Parameters

string $name

The resource name of the domain. It should have the form domains/{domain_name}, where domain_name is the fully qualified domain name.

array $optParams

Optional parameters.

Return Value

Domain

Exceptions

Exception

ListDomainsResponse listDomains(array $optParams = [])

Lists the domains that have been registered by the client. The order of domains in the response is unspecified and non-deterministic. Newly created domains will not necessarily be added to the end of this list.

(domains.listDomains)

Parameters

array $optParams

Optional parameters.

Return Value

ListDomainsResponse

Exceptions

Exception