class DebugDatasourcesItems extends Resource (View source)

The "items" collection of methods.

Typical usage is:

 $cloudsearchService = new Google\Service\CloudSearch(...);
 $items = $cloudsearchService->debug_datasources_items;

Methods

checkAccess(string $name, Principal $postBody, array $optParams = [])

Checks whether an item is accessible by specified principal. Principal must be a user; groups and domain values aren't supported. Note: This API requires an admin account to execute. (items.checkAccess)

searchByViewUrl(string $name, SearchItemsByViewUrlRequest $postBody, array $optParams = [])

Fetches the item whose viewUrl exactly matches that of the URL provided in the request. Note: This API requires an admin account to execute.

Details

CheckAccessResponse checkAccess(string $name, Principal $postBody, array $optParams = [])

Checks whether an item is accessible by specified principal. Principal must be a user; groups and domain values aren't supported. Note: This API requires an admin account to execute. (items.checkAccess)

Parameters

string $name

Item name, format: datasources/{source_id}/items/{item_id}

Principal $postBody
array $optParams

Optional parameters.

Return Value

CheckAccessResponse

Exceptions

Exception

SearchItemsByViewUrlResponse searchByViewUrl(string $name, SearchItemsByViewUrlRequest $postBody, array $optParams = [])

Fetches the item whose viewUrl exactly matches that of the URL provided in the request. Note: This API requires an admin account to execute.

(items.searchByViewUrl)

Parameters

string $name

Source name, format: datasources/{source_id}

SearchItemsByViewUrlRequest $postBody
array $optParams

Optional parameters.

Return Value

SearchItemsByViewUrlResponse

Exceptions

Exception