class DirectorySites extends Resource (View source)

The "directorySites" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $directorySites = $dfareportingService->directorySites;

Methods

get(string $profileId, string $id, array $optParams = [])

Gets one directory site by ID. (directorySites.get)

insert(string $profileId, DirectorySite $postBody, array $optParams = [])

Inserts a new directory site. (directorySites.insert)

listDirectorySites(string $profileId, array $optParams = [])

Retrieves a list of directory sites, possibly filtered. This method supports paging. (directorySites.listDirectorySites)

Details

DirectorySite get(string $profileId, string $id, array $optParams = [])

Gets one directory site by ID. (directorySites.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Directory site ID.

array $optParams

Optional parameters.

Return Value

DirectorySite

Exceptions

Exception

DirectorySite insert(string $profileId, DirectorySite $postBody, array $optParams = [])

Inserts a new directory site. (directorySites.insert)

Parameters

string $profileId

User profile ID associated with this request.

DirectorySite $postBody
array $optParams

Optional parameters.

Return Value

DirectorySite

Exceptions

Exception

DirectorySitesListResponse listDirectorySites(string $profileId, array $optParams = [])

Retrieves a list of directory sites, possibly filtered. This method supports paging. (directorySites.listDirectorySites)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

DirectorySitesListResponse

Exceptions

Exception